#include <wx/wx.h>
#include <wx/grid.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/stattext.h>


#include "gui.h"
#include "config.h"
#include "db.h"
#include "db_op.h"
#include "db_info.h"
#include "lib_init.h"
#include "lib_manager.h"
#include "book_info.h"
#include "time.h"



class BookManagerApp : public wxApp {
public:
    virtual bool OnInit() {
        BookManagerFrame* frame = new BookManagerFrame("图书管理系统");
        frame->SetBackgroundColour(*wxWHITE);
        frame->Show(true);
        return true;
    }
};

wxIMPLEMENT_APP(BookManagerApp);